<?php
$startTime = microtime(TRUE);
define('IN_ECS', true);
define('DEBUG',true);
header("Content-Type: text/html; charset=utf-8");

require_once "./Common/init.php";
$_POST[ClusterNum] = "222048974";
$_POST[ClusterName] = "索妮娅卖萌⑨课";
$_POST[Event] = "ReceiveClusterIM";
$_POST[Message] ="打丫丫丫~~~~"; trim(strip_tags($_POST[Message]));
if($_POST[Sender]=="246293") {
	$_POST[Sender] = "261589289";
}
$ret = @ DB :: GetQueryResult("select * from td_acfun_alt where `keyValue`='{$_POST[quoteId]}'", true);
print_r($ret);
/*if($ret) {
	echo "";
	return;
}*/
$p = '/^.*?\[at\]傲娇索妮娅酱\[\/at\]/si';
$_POST[Message] =  preg_replace($p,'',trim($_POST[Message]));
$arr = array(
	'id'=>'',
	'keyValue'=>$_POST[quoteId],
	'userName'=>$_POST[Sender],
	'content'=>$_POST[Message] 
);
print_r($_POST);
@ DB :: SaveTableRow('td_acfun_alt', $arr);
App :: run();
$mess =  App::getMess();
if(trim($mess)=="") {
	return ;
}

$mess = getAcface($mess);
echo $mess;
?>
